package com.mjk.manager.amis.core.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.*;
import com.mjk.common.core.jdbc.service.idgenerator.IdGenerateType;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ArcSharding(dataSource = "", table = "plat_sys", userName = "")
public class PlatSys extends BaseEntity {
    @Transient
    public final static String PLATFORM_CODE = "mamis";

    @Id(type = IdGenerateType.AUTO_UUID)
    @ExampleField
    private String id;
    @Filed(comment = "名称", lenght = 64, cloum = "NAME")
    private String NAME;
    @Filed(comment = "LOGO", lenght = 256, cloum = "LOGO")
    private String LOGO;
    @Filed(comment = "header", lenght = 256, cloum = "HEADER")
    private String HEADER;
    @Filed(comment = "footer", lenght = 256, cloum = "FOOTER")
    private String FOOTER;
    @Filed(comment = "favicon", lenght = 256, cloum = "FAVICON")
    private String FAVICON;
    @Filed(comment = "home uri", lenght = 64, cloum = "HOME")
    private String HOME;
    @Filed(comment = "系统代码，用于访问路径", lenght = 16, cloum = "CODE")
    private String CODE;
    @Filed(comment = "CNAME", lenght = 64, cloum = "CNAME")
    private String CNAME;
    @Filed(comment = "系统状态", lenght = 10, cloum = "STATUS")
    private Integer STATUS;
    @Filed(comment = "删除标记", lenght = 1, cloum = "DELETED")
    private Boolean DELETED;
    @Filed(comment = "创建时间", lenght = 19, cloum = "CREATED_AT")
    private LocalDateTime CREATED_AT;
    @Filed(comment = "创建人员", lenght = 64, cloum = "CREATED_BY")
    private String CREATED_BY;
    @Filed(comment = "更新时间", lenght = 19, cloum = "UPDATED_AT")
    private LocalDateTime UPDATED_AT;
    @Filed(comment = "更新人员", lenght = 64, cloum = "UPDATED_BY")
    private String UPDATED_BY;

    @Transient
    private String value;
    @Transient
    private String label;

}